package org.spring.springboot.app.adv.advinfo.dao;

import org.spring.springboot.app.adv.advinfo.domain.po.AdvInfoPO;
import org.spring.springboot.app.adv.advinfo.domain.vo.AdvInfoCountVO;
import org.spring.springboot.app.adv.advinfo.domain.vo.AdvInfoVO;
import org.spring.springboot.app.hard.hardlog.domain.vo.HardLogCountVO;
import org.spring.springboot.app.hard.hardlog.domain.vo.HardLogVO;

import java.util.List;

public interface AdvInfoDao {
    int deleteByPrimaryKey(String id);

    int insert(AdvInfoPO record);

    int insertSelective(AdvInfoPO record);

    AdvInfoPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(AdvInfoPO record);

    int updateByPrimaryKeyWithBLOBs(AdvInfoPO record);

    int updateByPrimaryKey(AdvInfoPO record);

    List<AdvInfoVO> findGraphical(String officeId);

    List<AdvInfoCountVO> findCount(String officeId);
}